export class HttpReslut<T> {
  code: number = 30000;
  data: T;
  message: string;
  constructor(data: T, code?: number, message?: string) {
    this.data = data;
    this.code = code != undefined ? code : 30000;
    this.message = message != undefined ? message : '成功';
  }
}
